<?php

namespace App\Admin\Controllers;

use App\Admin\Extensions\Form\Config\Basic;
use App\Admin\Extensions\Form\Config\Pouch;
use App\Admin\Extensions\Form\Config\Rule;
use Encore\Admin\Layout\Content;
use Encore\Admin\Widgets\Tab;

class SystemSetController extends BaseController
{
    /**
     * Title for current resource.
     *
     * @var string
     */
    protected $title = '业务配置';

    public function settings(Content $content)
    {
        //tab 配置表单
        $tab = Tab::forms([
            'basic'    => Basic::class,
            'rule'    => Rule::class,
//            'pouch'    => Pouch::class,
        ]);

        return $content
            ->title($this->title)
            ->body($tab);
    }


}
